package com.opengw.configuration.services;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.opengw.configuration.dao.RouteDAO;
import com.opengw.configuration.route.Route;

@Service("routeService")
public class RouteService {
	@Autowired
	protected RouteDAO routeDAO;
	
	public Route loadRoute(long routeId){
		return routeDAO.getSelectedRoute(routeId);
	}
}
